VPS 购买后,会提供 VPS 的 IP 、端口、连接密码。通过 SSH 工具连接 VPS。
1)安装 wget
yum -y install wget
2) 下载 wget
wget --no-check-certificate -O shadowsocks-all.sh https://raw.githubusercontent.com/teddysun/shadowsocks_install/master/shadowsocks-all.sh
3) 修改脚本执行权限
chmod +x shadowsocks-all.sh
4)执行安装
./shadowsocks-all.sh 2>&1 | tee shadowsocks-all.log
出现四个选项:
1 | 1)Shadowsocks-Python |
默认即可,默认选择 Shadowsocks-Python
接着提示输入 Shadowsocks Server 密码:输入自定义密码
接着提示输入端口:使用默认端口即可
接着提示选择加密方式:选择 aes-256-cfb